#ifdef _SYMBIAN_SDK_
/*
 ============================================================================
 Name		: newsymDocument.cpp
 Author	  : 
 Copyright   : Your copyright notice
 Description : CnewsymDocument implementation
 ============================================================================
 */

// INCLUDE FILES
#include "skyAppUi.h"
#include "skyDocument.h"

// ============================ MEMBER FUNCTIONS ===============================

// -----------------------------------------------------------------------------
// CsymegDocument::NewL()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CskyDocument* CskyDocument::NewL(CEikApplication& aApp)
	{
	CskyDocument* self = NewLC(aApp);
	CleanupStack::Pop(self);
	return self;
	}

// -----------------------------------------------------------------------------
// CskyDocument::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CskyDocument* CskyDocument::NewLC(CEikApplication& aApp)
	{
	CskyDocument* self = new (ELeave) CskyDocument(aApp);

	CleanupStack::PushL(self);
	self->ConstructL();
	return self;
	}

// -----------------------------------------------------------------------------
// CskyDocument::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CskyDocument::ConstructL()
	{
	// No implementation required
	}

// -----------------------------------------------------------------------------
// CskyDocument::CskyDocument()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CskyDocument::CskyDocument(CEikApplication& aApp) :
	CAknDocument(aApp)
	{
	// No implementation required
	}

// ---------------------------------------------------------------------------
// CskyDocument::~CskyDocument()
// Destructor.
// ---------------------------------------------------------------------------
//
CskyDocument::~CskyDocument()
	{
	// No implementation required
	}

// ---------------------------------------------------------------------------
// CskyDocument::CreateAppUiL()
// Constructs CreateAppUi.
// ---------------------------------------------------------------------------
//
CEikAppUi* CskyDocument::CreateAppUiL()
	{
	// Create the application user interface, and return a pointer to it;
	// the framework takes ownership of this object
	return new (ELeave) CskyAppUi;
	}

// End of File
#endif